From 731537ed892d569a75f115c17d8a512070177921 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 11 Dec 2003 22:50:09 +0000 Subject: [PATCH] Don't unnecessarily reserve space for arrows in RTL mode. (#129075, Semion Thu Dec 11 23:50:30 2003 Matthias Clasen * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't unnecessarily reserve space for arrows in RTL mode. (#129075, Semion Chichelnitsky) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtknotebook.c | 2 +- 6 files changed, 31 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a7aa59bc9d..cbab3b1dd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Dec 11 23:50:30 2003 Matthias Clasen + + * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't + unnecessarily reserve space for arrows in RTL mode. (#129075, + Semion Chichelnitsky) + Thu Dec 11 00:35:12 2003 Matthias Clasen Changes to allow "no input" windows (#64613): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a7aa59bc9d..cbab3b1dd5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Dec 11 23:50:30 2003 Matthias Clasen + + * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't + unnecessarily reserve space for arrows in RTL mode. (#129075, + Semion Chichelnitsky) + Thu Dec 11 00:35:12 2003 Matthias Clasen Changes to allow "no input" windows (#64613): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a7aa59bc9d..cbab3b1dd5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Thu Dec 11 23:50:30 2003 Matthias Clasen + + * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't + unnecessarily reserve space for arrows in RTL mode. (#129075, + Semion Chichelnitsky) + Thu Dec 11 00:35:12 2003 Matthias Clasen Changes to allow "no input" windows (#64613): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a7aa59bc9d..cbab3b1dd5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Dec 11 23:50:30 2003 Matthias Clasen + + * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't + unnecessarily reserve space for arrows in RTL mode. (#129075, + Semion Chichelnitsky) + Thu Dec 11 00:35:12 2003 Matthias Clasen Changes to allow "no input" windows (#64613): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a7aa59bc9d..cbab3b1dd5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Dec 11 23:50:30 2003 Matthias Clasen + + * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't + unnecessarily reserve space for arrows in RTL mode. (#129075, + Semion Chichelnitsky) + Thu Dec 11 00:35:12 2003 Matthias Clasen Changes to allow "no input" windows (#64613): diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 49a4d07867..3a1b74ec14 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -3396,7 +3396,7 @@ gtk_notebook_pages_allocate (GtkNotebook *notebook) { child_allocation.x = (allocation->x + allocation->width - container->border_width); - if (notebook->scrollable) + if (showarrow) { if (notebook->has_after_previous) child_allocation.x -= ARROW_SPACING + ARROW_SIZE; -- 2.30.2